package com.twentyOne.ClothingLand.service.impl;

import java.util.List;
import com.twentyOne.ClothingLand.dao.IStyleDAO;
import com.twentyOne.ClothingLand.dao.impl.StyleDAO;
import com.twentyOne.ClothingLand.service.IStyleService;
import com.twentyOne.ClothingLand.vo.Style;

public class StyleService implements IStyleService {
	
	private IStyleDAO styleDAO = new StyleDAO();
	
	@Override
	public void addStyle(Style style) {
		
		this.styleDAO.addStyle(style);
		
	}

	@Override
	public void deleteStyle(Style style) {
		
		this.styleDAO.deleteStyle(style);
		
	}

	@Override
	public void modifyStyle(Style style) {
		
		this.styleDAO.modifyStyle(style);
		
	}

	@Override
	public List<Style> searchAllStyle() {
		
		return this.styleDAO.searchAllStyle();
		
	}

}
